package cn.coufran.springboot.starter.http.exception;

import cn.coufran.commons.exception.ServiceException;

/**
 * HTTP异常
 * @author Coufran
 * @version 1.0.0
 * @since 1.0.0
 */
public class HttpException extends ServiceException {
    /**
     * 构造业务错误
     * @param e 原生异常
     */
    public HttpException(Throwable e) {
        super(e);
    }

    /**
     * 构造业务错误
     * @param message 错误消息
     */
    public HttpException(String message) {
        super(message);
    }
}
